<?php

namespace App;

class CodeResponse
{
    // 通用返回码
    const SUCCESS = [0, '成功'];
    const FAIL = [-1, '错误'];
    const PARAM_ILLEGAL = [400, '参数不合法'];
    const UNAUTHORIZED =[401,'未经授权'];
    const PARAM_VALUE_ILLEGAL = [402, '参数值不对'];

    const CREATED_FAIL = [601, '新建数据失败'];
    const UPDATED_FAIL = [602, '更新数据失败'];
    const REVIEW_FAIL = [603, '审核失败'];
    const CANCEL_FAIL = [604, '审核失败'];

    // 业务返回码


}